import request from '@/utils/request'
/**
 * 调用链日志搜索页查询接口
 * 文档地址：http://10.3.98.23:8080/workspace/myWorkspace.do?projectId=77#4207
 * @param {*} data
 */
export function getCallChainLogList(data) {
  return request({
    url: 'callChain/getCallChainLogList',
    method: 'post',
    data
  })
}
/**
 * 调用链日志详情页查询接口
 * 地址：http://10.3.98.23:8080/workspace/myWorkspace.do?projectId=77#4208
 * @param {*} data
 */
export function getCallChainDetailLog(data) {
  return request({
    url: 'callChain/getCallChainDetailLog',
    method: 'get',
    params: data
  })
}

/**
 * 业务日志主页查询接口
 * 地址：http://10.3.98.23:8080/workspace/myWorkspace.do?projectId=77#4209
 * @param {*} data
 */
export function getBusinessLogList(data) {
  return request({
    url: 'business/getBusinessLogList',
    method: 'post',
    data
  })
}

/**
 * SQL日志主页查询接口
 * 地址：http://10.3.98.23:8080/workspace/myWorkspace.do?projectId=77#4210
 * @param {*} data
 */
export function getSqlLogList(data) {
  return request({
    url: 'sql/getSqlLogList',
    method: 'post',
    data
  })
}
